A basic Line charts example

[No canvas support]

This goes in the documents header:
<script src="RGraph.common.core.js"></script>
<script src="RGraph.bar.js"></script>
Put this where you want the chart to show up:
<canvas id="cvs" width="1000" height="250">
    [No canvas support]
</canvas>
This is the code that generates the chart:
<script>
    window.onload = function ()
    {
        var line = new RGraph.Line({
            id: 'cvs',
            data: [84,76,79,84,86,52,53],
            options: {
                textAccessible: true,
                hmargin: 5,
                tickmarks: 'endcircle',
                labels: ['Gary','Hoolio','Brad','Olga','Pete','Luis','John']
            }
        }).draw();
    };
</script>